package com.workstudy.workstudy.service;

import java.math.BigDecimal;
import java.util.List;
import com.workstudy.workstudy.domain.WorkstudyWage;

/**
 * 工资Service接口
 * 
 * @author ws
 * @date 2021-03-28
 */
public interface IWorkstudyWageService 
{
    /**
     * 查询工资
     * 
     * @param wageId 工资ID
     * @return 工资
     */
    public WorkstudyWage selectWorkstudyWageById(Long wageId);

    /**
     * 查询工资列表
     * 
     * @param workstudyWage 工资
     * @return 工资集合
     */
    public List<WorkstudyWage> selectWorkstudyWageList(WorkstudyWage workstudyWage);

    /**
     * 新增工资
     * 
     * @param workstudyWage 工资
     * @return 结果
     */
    public int insertWorkstudyWage(WorkstudyWage workstudyWage,String attendanceIds);

    /**
     * 修改工资
     * 
     * @param workstudyWage 工资
     * @return 结果
     */
    public int updateWorkstudyWage(WorkstudyWage workstudyWage);

    /**
     * 批量删除工资
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWorkstudyWageByIds(String ids);

    /**
     * 删除工资信息
     * 
     * @param wageId 工资ID
     * @return 结果
     */
    public int deleteWorkstudyWageById(Long wageId);

    //统计出每个用户的总工资
    List<String> selectBySumSumprice();
}
